#ifndef _DataSL_H_
#define _DataSL_H_

class DataSL
{
public:
    static void load();
    static void save();

    static bool setHighestScoreOne(int score);
    static bool setHighestScoreTwo(int score);
    static bool setHighestStage(int stage);
    static bool setCurStage(int stage);
    static bool setLevelDetail(int level, bool state);

    static int getHighestScoreOne();
    static int getHighestScoreTwo();
    static int getHighestStage();
    static int getCurStage();
    static bool getLevelDetail(int level);

protected:
    static bool _setStringData(std::string key, std::string data);
    static bool _setBoolData(std::string key, bool data);
    static bool _setIntData(std::string key, int data);

    static std::string _getStringData(std::string key);
    static bool _getBoolData(std::string key);
    static int _getIntData(std::string key);
};

#endif // _DataSL_H_
